#!/bin/bash

ln -s ../_acquirepy.so _acquirepy.so
env
LD_PRELOAD=../glibc_patch.so LD_LIBRARY_PATH=.. ../python -S ./test_workpacket_process.py \
  -n $CONSPIRE_BROKERHOST -p $CONSPIRE_BROKERPORT \
  -c "$CONSPIRE_KEYID" -u "$CONSPIRE_KEYID"_inp -r "$CONSPIRE_KEYID"_out -j "$CONSPIRE_JOBID" \
  -t "$CONSPIRE_TMAX" -d "$CONSPIRE_DEMAND_JOB" -i $1 $2
#LD_PRELOAD=../glibc_patch.so LD_LIBRARY_PATH=.. ../python ./test_workpacket_process.py \
#   -n 127.0.0.1 -p 10000 -d /tmp/ac760b34e712b57eb4ed200461563059f2d32eb1a74068179e4989189136f72a/work
# -c "1a7e46660e613bcec493cb8b2e2858b77a644c049b0992e6525bd10fadad0b40"
#-u "1a7e46660e613bcec493cb8b2e2858b77a644c049b0992e6525bd10fadad0b40"_inp
#-r "1a7e46660e613bcec493cb8b2e2858b77a644c049b0992e6525bd10fadad0b40"_out
#-j "568.trefoil"
#-i "ac760b34e712b57eb4ed200461563059f2d32eb1a74068179e4989189136f72a" -t "0"
